#run system via nfs file system and kernel from tftp

send	"setenv ethaddr 00:11:f7:06:14:46"
expect {
    "DM355 IPNC # "
}
send "setenv ipaddr 192.168.5.33"
expect {
    "DM355 IPNC # "
}
send "setenv serverip 192.168.5.30"
expect {
    "DM355 IPNC # "
}

send setenv bootargs 'console=ttyS1,115200n8 noinitrd rw ip=192.168.5.148 root=/dev/nfs nfsroot=192.168.5.30:/home/ist/workdir/dvsdk_1_30_01_41/filesys,nolock eth=00:0c:0c:aa:32:ea mem=80M v4l2_video_capture=:device=MT9P031'
expect {
    "DM355 IPNC # "
}
send "tftp 0x80700000 uImage"
expect {
    "DM355 IPNC # "
}
send "bootm 0x80700000"
expect {
}
exit 0
